package com.bdqn.oa.entity;


import java.time.LocalDateTime;

/**
 * 投票项目类
 *
 * @author zhouxw
 */
public class Vote {
    /**
     * id
     */
    private Integer id;
    /**
     * 标题
     */
    private String title;
    /**
     * 详细描述
     */
    private String description;
    /**
     * 是否多选
     * -1: 无限制 1:单选 其他:多选上限(不可超过选项数量)
     */
    private Integer multi;
    /**
     * 是否匿名
     * 1: 可匿名 2: 不可匿名
     */
    private Integer anonymous;
    /**
     * 创建人
     * [部门名]+员工名
     */
    private String createBy;
    /**
     * 开始时间
     */
    private LocalDateTime startTime;
    /**
     * 截至时间
     */
    private LocalDateTime endTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


    public Integer getMulti() {
        return multi;
    }

    public void setMulti(Integer multi) {
        this.multi = multi;
    }


    public Integer getAnonymous() {
        return anonymous;
    }

    public void setAnonymous(Integer anonymous) {
        this.anonymous = anonymous;
    }


    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }


    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }


    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

}
